body{
    background-color: #fafafa;
    padding-bottom: 6rem;
}
.hide{
    display: none;
}
.header{
    width: 100%;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0px 0.2rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}

.step{
    display: flex;
    justify-content: center;
    margin-top: 3rem;


    .list{
        --active-color:#A7A7A7;
        &.active{
            --active-color:#D42F1D;
            .centre{
                box-shadow: 0 0 0.4rem 0,1rem var(--active-color);
            }
        }
        width: 14rem;
        color: var(--active-color);
        text-align: center;
        .num{
            font-size: 1rem;
            margin-bottom: 0.8rem;
        }
        .text{
            font-size: 1.4rem;
            margin-top: 0.8rem;
        }
        .line{
            width: 100%;
            height: 1.3rem;
            position: relative;
            .centre{
                width: 1.3rem;
                height: 1.3rem;
                background: var(--active-color);
                opacity: 1;
                display: block;
                border-radius: 50%;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%,-50%);
            }
            &:after{
                content: "";
                width: 7rem;
                height: 0.1rem;
                background: var(--active-color);
                position: absolute;
                top: 50%;
                right: 0;
                transform: translateY(-50%);
            }

            &:before{
                content: "";
                width: 7rem;
                height: 0.1rem;
                background: var(--active-color);
                position: absolute;
                top: 50%;
                left: 0;
                transform: translateY(-50%);
            }
        }


    }
}

.form-container{
    margin-top: 6rem;
    padding: 0 1.5rem;
    .wrap{
        width: 100%;
        margin: 0 auto;
        .flex-row{

        }
    }
    .left-side{
        width: 100%;

    }
    .right-side{
        width: 100%;

    }
    .card{
        width: 100%;
        margin-bottom: 4rem;
        .head{
            margin-bottom: 2rem;
            .title{
                font-size: 2.4rem;
            }
        }
        .main{
            width: 100%;
            background: #FFFFFF;
            border-radius: 0.8rem;
            .form-wrap{
                padding: 3rem;
            }
            .form-group{
                margin-bottom: 3rem;
                &:last-child{
                    margin-bottom: 0;
                }
                .form-label{
                    font-size: 1.6rem;

                    margin-bottom: 0.8rem;
                    display: block;

                }
                .form-content{
                    width: 100%;
                    height: 4rem;
                    border-radius: 0.4rem;
                    border: 0.1rem solid #A7A7A7;
                    padding: 0 1rem;
                    font-size: 1.6rem;
                }
            }

            .identical-group{
                position: relative;
                .dress{
                    display: flex;
                    align-items: center;
                    position: relative;
                    z-index: 0;
                    input {
                        width: 1.2rem;
                        margin-right: 0.6rem;
                        background-color: red;
                        flex-shrink: 0;
                        height: 1.2rem;

                    }
                    label{
                        font-size: 1.2rem;

                    }
                }
                .bef{
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    z-index: 2;
                    left: 0;
                    top: 0;
                }


            }

            .form-radio{
                margin-bottom: 0.8rem;
                padding-bottom: 0.8rem;
                border-bottom: 0.1rem solid #D8D8D8;
                display: flex;
                align-items: center;

                &:last-child{
                    margin-bottom: 0;
                    padding-bottom: 0;
                    border-bottom: none;
                }
                .radio-label{
                    display: flex;
                    align-items: center;

                    &.grow{
                        flex-grow: 1;
                    }
                    .dress{
                        width: 1.8rem;
                        height: 1.8rem;
                        opacity: 1;
                        border: 0.1rem solid #D8D8D8;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        border-radius: 50%;
                        flex-shrink: 0;
                        &:after{
                            content: "";
                            width: 1.2rem;
                            height: 1.2rem;
                            border-radius: 50%;
                            background-color: #D42F1D;
                            opacity: 0;
                        }
                    }
                    .article{
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        flex-grow: 1;
                        .text{
                            margin-left: 1.2rem;
                            font-size: 1.6rem;
                            span{
                                display: block;
                            }
                            .s2{
                                color: #BFBFBF;
                                font-size: 1.4rem;
                            }
                        }
                        .price{
                            color: #D8D8D8;
                            font-size: 1.6rem;
                        }
                    }

                }

                input[type='radio']{
                    &:checked{
                        +.radio-label{
                            .dress{
                                border: 0.1rem solid #D42F1D;
                                &:after{
                                    opacity: 1;
                                }
                            }
                            .price{
                                color: #D42F1D!important;
                            }
                        }
                    }
                    &:disabled{
                        +.radio-label{
                            .text{
                                color: #D8D8D8;
                            }
                        }
                    }
                }
            }

            .area{
                margin-top: 4rem;

                .label-title{
                    margin-bottom: 1rem;
                    font-size: 1.6rem;
                    display: block;
                }
                .choice{
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-between;
                    .relate{
                        position: relative;
                        width: 13rem;
                        height: 4rem;
                        margin-bottom: 1rem;

                        select{
                            width: 100%;
                            height: 100%;
                            border: 0.1rem solid #A7A7A7;
                            border-radius: 0.4rem;
                            text-align: left;
                            font-size: 1.6rem;
                            padding-left: 2rem;
                            padding-right: 2rem;
                        }
                        &:last-child{
                            width: 100%;
                        }
                    }
                }
            }

            .address{
                display: flex;

                align-items: center;
                .form-label{

                }
                .form-control{
                    height: 40px;
                    border-radius: 4px;
                    border: 1px solid #A7A7A7;
                    padding: 0 2rem;
                    font-size: 1.6rem;
                    flex-grow: 1;
                    width: 100%;

                }
            }

            .form-store{

                margin-top: 2rem;
                .store-shop{
                    .store-item{
                        margin-bottom: 0.8rem;
                        padding-bottom: 0.8rem;
                        display: flex;
                        align-items: center;
                        border-bottom: 0.1rem solid #D8D8D8;
                        &:last-child{
                            border-bottom: none;
                            padding-bottom: 0;
                            margin-bottom: 0;
                        }
                    }

                    .marquee{
                        display: flex;

                        .dress{
                            width: 1.8rem;
                            height: 1.8rem;
                            opacity: 1;
                            border: 0.1rem solid #D8D8D8;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            border-radius: 50%;
                            flex-shrink: 0;
                            &:after{
                                content: "";
                                width: 1.2rem;
                                height: 1.2rem;
                                border-radius: 50%;
                                background-color: #D42F1D;
                                opacity: 0;
                            }
                        }

                        .store-info{
                            background-image: url(/static/img/711.jpg);
                            background-repeat: no-repeat;
                            background-size: 1.6rem 1.6rem;
                            background-position: 0 0.1rem;
                            display: flex;
                            align-items: center;
                            padding-left: 2rem;
                            margin-left: 1rem;
                            font-size: 1.6rem;
                            .store-name{
                                margin-top: -0.2rem;
                            }
                            .store-address{
                                color: rgba(0, 0, 0, 0.4);
                                font-size: 1.2rem;
                            }
                        }

                    }
                    input[type='radio']{
                        display: none;
                        &:checked{
                            +.marquee{
                                .dress{
                                    border: 0.1rem solid #D42F1D;
                                    &:after{
                                        opacity: 1;
                                    }
                                }
                                .price{
                                    color: #D42F1D!important;
                                }
                            }
                        }
                        &:disabled{
                            +.radio-label{
                                .text{
                                    color: #D8D8D8;
                                }
                            }
                        }
                    }
                }
            }


            .amount{

                font-size: 1.6rem;
                .red{
                    color: #D42F1D;
                }
                .goods{
                    padding:2rem 3rem;
                    margin-bottom: 2rem;
                    border-bottom: 0.1rem solid #D8D8D8;

                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    .name{
                        width: 16rem;
                    }
                }
                .count{
                    padding: 2rem 3rem;

                    border-bottom: 0.1rem solid #D8D8D8;
                    dl{
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        margin-bottom: 8px;
                        &:last-child{
                            margin-bottom: 0;
                        }
                        dt{
                            color: #D8D8D8;
                            font-size: 1.4rem;
                        }
                        dd{
                            font-size: 1.4rem;
                        }
                    }

                }
                .total{
                    padding: 2rem 3rem;
                    text-align: right;
                    font-size: 1.6rem;
                }
            }


        }



    }
    .btn-main{
        margin-top: 4rem;
        .law{
            padding: 0 1.5rem;
            margin-bottom: 3rem;
            .group{
                display: flex;
                align-items: flex-start;
                margin-bottom: 0.4rem;
                font-size: 1.2rem;
                input{
                    flex-shrink: 0;
                    width: 1.2rem;
                    height: 1.2rem;
                    margin-top: 0.1rem;
                    margin-right: 0.6rem;
                }
            }
        }

        .form-btn{
            width: 100%;
            height: 4.8rem;
            background: #0078A3;
            border-radius: 0.8rem;
            opacity: 1;
            color: #fff;
            border: none;
            font-size: 1.6rem;

        }

    }
}


.success{
    width: 100%;

    text-align: center;
    padding: 0 1.5rem;
    .ico{
        color: #D42F1D;
        margin-bottom: 3.6rem;

        i{
            font-size: 6rem;
        }
    }
    .text{
        font-size: 1.8rem;
    }
    .home-btn{
        margin-top: 2rem;
        width: 100%;
        height: 4.8rem;
        line-height: 4.8rem;
        background: #0078A3;
        border-radius: 0.8rem;
        opacity: 1;
        display: block;
        color: #fff;
        font-size: 1.6rem;
    }

    .order-btn{
        color: #0078A3;
        text-decoration: underline;
        font-size: 1.4rem;
        margin-top: 2rem;
        display: block;
    }
}


